<?php if (isset($shoeShowMsg->WorkName)) { ?>
    <a onclick="act_content(this)"
       data-forward="controller=work_show&work_id=<?= $shoeShowMsg->WorkId ?>">
        <div style="width: 100%">
            <div class="am-text-default web-black-color web-right-bar-tittle">所属作品</div>
            <div class="am-g" style="margin: 10px 0">
                <div class="am-u-sm-4" style="padding: 0;">
                    <img class="am-img-responsive" alt=""
                         src="<?php echo "{$CfgPara->httproot}/works_pic/{$workImg}" ?>"/>
                </div>
                <div class="am-u-sm-8" style="padding: 2px 5px;">
                    <div class="web-main-color am-text-truncate" style="width: 100%;">
                        <?= $shoeShowMsg->WorkName; ?>
                    </div>
                    <div class="web-black-color am-text-truncate" style="width: 100%;">
                        <?= $shoeShowMsg->WorkIntrod; ?>
                    </div>
                </div>
            </div>
        </div>
    </a>
<?php } ?>